if (do_name() != 'Home') : ?>
Reference | var()
endif ?> Syntax
var(name, type, default, min, max)
Description The variables sheet creates connections between a variable and a user interface control, such as a slider, textfield or check box. The most convenient way of creating variables is through the Python > Variables menu. Variables created like this become part of the global namespace, meaning you can access them just like any other variable.
Tutorial Variables
Example
include("util/comment.php"); ?>
var("amount", NUMBER, 30, 0, 100) background(0.1, 0, 0.0) for i in range(int(amount)): rotate(15) image("10.png", 5, 5, alpha=0.25)